<template>
  <div>
    <div class="dividerBox out">
      <div class="left">
        <span class="divider"></span>
        <span class="title">商品详情</span>
      </div>
      <div class="right"></div>
    </div>

    <div class="detail">
      <img v-for="(image, index) in images" :key="index" :src="image.url" alt="" />
    </div>
  </div>
</template>

<script setup>
import { defineProps } from "vue";

// 属性
const props = defineProps({
  images: {
    type: Object,
  },
});
</script>

<style lang="less" scoped>
.detail {
  display: flex;
  flex-direction: column;
  img {
    width: 100%;
  }
}
</style>